package com.toolmanrln.logistics.modules.permission.mapper;

import com.toolmanrln.logistics.modules.permission.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 权限信息表 Mapper 接口
 * </p>
 *
 * @author ToolMan.RLN
 * @since 2020-05-19
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    List<Permission> findByUserId(@Param("userId") Long userId);
}
